package com.lukebang.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import com.lukebang.util.BuluResult;
import com.lukebang.pojo.Merchant;

/**
 * 
 * IMerchantService 上午11:17:20
 * 
 * Copyright zhaocj Inc. All rights reserved. Love ME Like Justin Bieber.
 */

public interface IMerchantService {

	boolean login(String name, String password, HttpSession session);

	double selectWallet(HttpSession session);

	Map<String, Object> selectInitialInfomation(HttpSession session);

	Integer insertMerchant(Merchant merchant);

	Integer selectCountByPhone(String phone);

	Integer modifyByPhone(Merchant merchant);
	
	//提现
	BuluResult alipyWithdrawal(HttpServletRequest request, HttpSession session, Double withdrawMoney, String zhifubao,
			String name,Integer status, String password);
}
